
{if !isset($close_top_page)}
{$page}
{/if}

<table class="table table-bordered kyo-table">
    <caption>{$name}管理</caption>
    <thead>
        <tr>
            <th>ID</th>
            <th>状态</th>
            <th>类型标识</th>
            <th>类型名称</th>
            <th>类型路径</th>
            <th>排序号</th>
            <th>更新时间</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
{foreach $data as $row}
        <tr>
            <td>{$row.id}</td>
            <td>{$row.state}</td>
            <td>{$row.tag}</td>
            <td>{$row.name}</td>
            <td>{$row.path}</td>
            <td>{$row.sort}</td>
            <td>{$row.mtime}</td>
            <td>
                <a href="javascript:void(0)">移动</a>&emsp;
                {html_pop(U('Type/subType', [{$row.id}]), 700, 500, "{$row.name}&emsp;子类型管理", 'a', '子类型')}&emsp;
                {html_pop(U('Type/edit', [{$row.id}]), 600, 300, '编辑类型', 'a', '编辑')}&emsp;
                {html_link(U('Type/del', [{$row.id}]), null, 'a', '删除', "确定删除吗?")}
            </td>
        </tr>
{/foreach}
    </tbody>
</table>

{if !isset($close_bottom_page)}
{$page}
{/if}

